/**
 * tinymce
 */
tinymce.init({
	document_base_url: $full_base_url,
	relative_urls : false,
	remove_script_host : true,
    selector: "textarea.tnmc",
    theme: "modern",
    //skin:'custom',
    language:'vi_VN',
    style_formats: [
            { title: '8px', inline: 'span', styles: { 'font-size': '8px'} },
            { title: '9px', inline: 'span', styles: { 'font-size': '9px'} },
            { title: '10px', inline: 'span', styles: { 'font-size': '10px'} },
            { title: '11px', inline: 'span', styles: { 'font-size': '11px'} },
            { title: '12px', inline: 'span', styles: { 'font-size': '12px'} },
            { title: '13px', inline: 'span', styles: { 'font-size': '13px'} },
            { title: '14px', inline: 'span', styles: { 'font-size': '14px'} },
            { title: '16px', inline: 'span', styles: { 'font-size': '16px'} },
            { title: '18px', inline: 'span', styles: { 'font-size': '18px'} },
            { title: '24px', inline: 'span', styles: { 'font-size': '24px'} },
            { title: '36px', inline: 'span', styles: { 'font-size': '36px'} }
        ],
    font_formats:   "Andale Mono=andale mono,times;"+
			        "Arial=arial,helvetica,sans-serif;"+
			        "Arial Black=arial black,avant garde;"+
			        "Book Antiqua=book antiqua,palatino;"+
			        "Comic Sans MS=comic sans ms,sans-serif;"+
			        "Courier New=courier new,courier;"+
			        "Georgia=georgia,palatino;"+
			        "Helvetica=helvetica;"+
			        "Impact=impact,chicago;"+
			        "Symbol=symbol;"+
			        "Tahoma=tahoma,arial,helvetica,sans-serif;"+
			        "Terminal=terminal,monaco;"+
			        "Times New Roman=times new roman,times;"+
			        "Trebuchet MS=trebuchet ms,geneva;"+
			        "Verdana=verdana,geneva;"+
			        "Webdings=webdings;"+
			        "Wingdings=wingdings,zapf dingbats",
    subfolder:"",
    plugins: [
         "advlist autolink link image lists charmap print preview hr anchor pagebreak",
         "searchreplace wordcount visualblocks visualchars code insertdatetime media nonbreaking",
         "table contextmenu directionality emoticons paste textcolor  filemanager"
   ],
   image_advtab: true,
   height:300,
   toolbar: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect fontselect | forecolor backcolor emoticons | link unlink anchor image | preview code"
});